package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 项目分包商
 *
 * @author flyme
 * @date 2020-10-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_project_supplier")
@TableAlias("bps")
@ApiModel(value = "BusProjectSupplier对象", description = "项目分包商")
public class BusProjectSupplier extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "projectSupplierId", type = IdType.ID_WORKER)
    private Long projectSupplierId;

    @ApiModelProperty(value = "分包商1ID")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long supplierId1;

    @ApiModelProperty(value = "项目ID")
    private Long projectId;

    @ApiModelProperty(value = "专业代码")
    private String majorCode;

    @ApiModelProperty(value = "工程包代码")
    private String packageNo;

    @ApiModelProperty(value = "分包商2id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long supplierId2;

    @ApiModelProperty(value = "分包商3id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long supplierId3;

    @ApiModelProperty(value = "分包商4id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long supplierId4;

    @ApiModelProperty(value = "分包商5id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long supplierId5;

    @ApiModelProperty(value = "分包商6id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long supplierId6;

    @ApiModelProperty(value = "分包商7id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long supplierId7;

    @ApiModelProperty(value = "分包商8id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long supplierId8;

    @ApiModelProperty(value = "分包商9id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long supplierId9;

    @ApiModelProperty(value = "分包商10id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long supplierId10;

}
